<style type="text/css">
  body{
  overflow: hidden;
}
</style>
<div class="layui-fluid">
    <div class="layui-card">
      <div class="layui-form   layui-form-pane">
      
         
          <div class="layui-inline">
            <label class="layui-form-label">分类</label>
            <div class="layui-input-block">
              <input type="text" name="cat_name" placeholder="请输入" autocomplete="off" class="layui-input">
            </div>
          </div> 
          
           
          <div class="layui-inline">
            <input type="hidden" name="pid" value="{$pid}" />
            <button class="layui-btn layuiadmin-btn-cat btn-search" >
              <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
            </button>
          </div>
        
      </div>
      
      <div class="layui-card-body">
        <div style="padding-bottom: 10px;">
          <button class="layui-btn layuiadmin-btn-cat" data-type="batchdel">删除</button>
          <button class="layui-btn layuiadmin-btn-cat" data-type="add" data-pid="{$pid|default=0}">添加</button>     
          {if $pid gt 0}  
          <a class="layui-btn layuiadmin-btn-cat"  href="javascript:history.back(1);">返回</a>      
          {/if}
        </div>
        
        <table id="LAY-cat-manage" lay-filter="LAY-cat-manage"></table>
        
        <script type="text/html" id="table-cat-webuser">
          <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="edit"><i class="layui-icon layui-icon-edit"></i>编辑</a>
          <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del"><i class="layui-icon layui-icon-delete"></i>删除</a>
          
        </script>
      </div>
    </div>
  </div>
  <script>
  layui.use(['index', 'missioncat'], function(){
 
  }); 
  </script>